From: tsteven4 <13596209+tsteven4@users.noreply.github.com> Date: Mon, 21 Oct 2024 19:30:44 +0000 (-0600) Subject: delete unimplemented options (#1355) X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2^2~35 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/%22bookmarks:/?a=commitdiff_plain;h=4fc78215cc12c5d542046b92e8c2463ca3a993e2;p=gpsbabel.git delete unimplemented options (#1355) * delete globalsat_sport track option which was never implemented. * delete ancient geo nuke_placer option which hasn't worked since ~1.4.4 --- diff --git a/geo.h b/geo.h index dac3cf4d4..785d0c4f0 100644 --- a/geo.h +++ b/geo.h @@ -68,11 +68,9 @@ private: /* Data Members */ OptionCString deficon; - OptionBool nuke_placer; QVector geo_args = { {"deficon", &deficon, "Default icon name", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr }, - {"nuke_placer", &nuke_placer, "Omit Placer name", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr }, }; }; #endif // GEO_H_INCLUDED_ diff --git a/globalsat_sport.h b/globalsat_sport.h index 1e7c59853..374a537cb 100644 --- a/globalsat_sport.h +++ b/globalsat_sport.h @@ -230,7 +230,6 @@ private: bool isSizeSwapped{false}; OptionBool showlist; // if true show a list instead of download tracks - OptionCString track; // if not 0 only download this track, if 0 download all OptionCString opt_dump_file; // dump raw data to this file (optional) OptionBool opt_input_dump_file; // if true input is from a dump-file instead of serial console @@ -241,7 +240,6 @@ private: QVector globalsat_args = { {"showlist", &showlist, "list tracks", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr}, - {"track", &track, "get track", "0", ARGTYPE_INT, ARG_NOMINMAX, nullptr}, {"dump-file", &opt_dump_file, "Dump raw data to this file", nullptr, ARGTYPE_OUTFILE, ARG_NOMINMAX, nullptr}, {"input-is-dump-file", &opt_input_dump_file, "Dump raw data to this file", nullptr, ARGTYPE_BOOL, ARG_NOMINMAX, nullptr}, {"timezone", &opt_timezone, "Time zone ID", nullptr, ARGTYPE_STRING, ARG_NOMINMAX, nullptr}, diff --git a/reference/format3.txt b/reference/format3.txt index 217be656f..8904538b7 100644 --- a/reference/format3.txt +++ b/reference/format3.txt @@ -308,8 +308,6 @@ file rw---- geo loc Geocaching.com .loc geo https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html option geo deficon Default icon name string https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html#fmt_geo_o_deficon -option geo nuke_placer Omit Placer name boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geo.html#fmt_geo_o_nuke_placer - file rwrwrw geojson json GeoJson geojson https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html option geojson compact Compact Output. Default is off. boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_geojson.html#fmt_geojson_o_compact @@ -342,8 +340,6 @@ serial --r--- globalsat GlobalSat GH625XT GPS training watch globalsat https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html option globalsat showlist list tracks boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_showlist -option globalsat track get track integer 0 https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_track - option globalsat dump-file Dump raw data to this file outfile https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_dump-file option globalsat input-is-dump-file Dump raw data to this file boolean https://www.gpsbabel.org/WEB_DOC_DIR/fmt_globalsat.html#fmt_globalsat_o_input-is-dump-file diff --git a/reference/help.txt b/reference/help.txt index 491978246..778357b5c 100644 --- a/reference/help.txt +++ b/reference/help.txt @@ -159,7 +159,6 @@ File Types (-i and -o options): sport Sport: Biking (deflt), Running, MultiSport, Other geo Geocaching.com .loc deficon Default icon name - nuke_placer (0/1) Omit Placer name geojson GeoJson compact (0/1) Compact Output. Default is off. dg-100 GlobalSat DG-100/BT-335 Download @@ -170,7 +169,6 @@ File Types (-i and -o options): erase_only (0/1) Only erase device data, do not download anything globalsat GlobalSat GH625XT GPS training watch showlist (0/1) list tracks - track get track dump-file Dump raw data to this file input-is-dump-file (0/1) Dump raw data to this file timezone Time zone ID diff --git a/xmldoc/formats/options/geo-nuke_placer.xml b/xmldoc/formats/options/geo-nuke_placer.xml deleted file mode 100644 index 325861d02..000000000 --- a/xmldoc/formats/options/geo-nuke_placer.xml +++ /dev/null @@ -1,8 +0,0 @@ - -If this option is specified, GPSBabel will not read geocache placer information -from a .loc file on input. That is, it will ignore any placer names in the -input file. - - -This option has no effect on output. - diff --git a/xmldoc/formats/options/globalsat-track.xml b/xmldoc/formats/options/globalsat-track.xml deleted file mode 100644 index fa0ff87e2..000000000 --- a/xmldoc/formats/options/globalsat-track.xml +++ /dev/null @@ -1,9 +0,0 @@ - -The 'track' option is used to fetch a single named track, probably one you -learned about via the 'showlist' option from a previous invocation, instead -of fetching all the tracks, which is our default. - - - Command track can be used to fetch a single track, default is all tracks - gpsbabel -i globalsat,track=number -f /dev/ttyUSB0 -o gpx,garminextensions -F outfile.gpx -